package com.lantosec.hmrp.modules.monitor.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.lantosec.hmrp.modules.monitor.entity.CoreIndexEntity;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface MonitorCoreIndexMapper extends BaseMapper<CoreIndexEntity> {


    List<CoreIndexEntity> getMonthData(@Param("startTime") String month, @Param("endTime")String endTime);

    List<CoreIndexEntity> getYearData(@Param("startTime")Integer year, @Param("endTime")String endTime);

    List<CoreIndexEntity> getMonthDetails(String colName);

    List<CoreIndexEntity> getYearDetails(String colName);
}
